package cn.harry.cabinet.utils

/**
 * 应用内通用配置键常量
 * type 采用大写字符
 * key  采用小写
 */
object AppConfigKeys {
    const val TYPE_HOME = "HOME"

    const val KEY_HOME_TITLE = "title"
    const val KEY_HOME_LABEL_RETURN = "label_return"
    const val KEY_HOME_LABEL_TAKE = "label_take"
    const val KEY_HOME_DEVICE_NUMBER = "device_number"

    // Network related configuration
    const val TYPE_NETWORK = "NETWORK"
    const val KEY_NETWORK_SERVER_PORT = "server_port"
    const val KEY_NETWORK_SERVER_HOST = "server_host"
    const val KEY_NETWORK_EXTERNAL_API_URL = "external_api_url"
    const val KEY_NETWORK_TOKEN = "token"
    const val KEY_NETWORK_EXTERNAL_API_ENABLED = "external_api_enabled"

    // Theme related configuration
    const val TYPE_THEME = "THEME"
    const val KEY_CURRENT_THEME = "current_theme"
    
    // Theme types
    const val THEME_CHINA_RED = "china_red"
    const val THEME_VIBRANT_ORANGE = "vibrant_orange"
    const val THEME_TECH_BLUE = "tech_blue"
    
    // Face recognition related configuration
    const val TYPE_FACE_RECOGNITION = "FACE_RECOGNITION"
    const val KEY_FACE_APP_ID = "app_id"
    const val KEY_FACE_SDK_KEY = "sdk_key"

    const val KEY_FACE_ACTIVATED="activated"
    
    // System related configuration
    const val TYPE_SYSTEM = "SYSTEM"
    const val KEY_AUTO_RESTART_ENABLED = "auto_restart_enabled"
    const val KEY_AUTO_RESTART_HOUR = "auto_restart_hour"
    const val KEY_AUTO_RESTART_MINUTE = "auto_restart_minute"
    
    // Security related configuration
    const val TYPE_SECURITY = "SECURITY"
    const val ADMIN_PASSWORD = "admin_password"
}

